home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14154 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 6e | 74 70 30 2e 62 72 75 6e |Path: nn|tp0.brun|
|00000010| 65 6c 2e 61 63 2e 75 6b | 21 75 73 65 6e 65 74 0a |el.ac.uk|!usenet.|
|00000020| 46 72 6f 6d 3a 20 46 72 | 61 6e 63 65 73 63 6f 20 |From: Fr|ancesco |
|00000030| 46 61 6e 74 61 75 7a 7a | 69 20 3c 6d 61 70 67 66 |Fantauzz|i <mapgf|
|00000040| 67 66 40 62 72 75 6e 65 | 6c 2e 61 63 2e 75 6b 3e |gf@brune|l.ac.uk>|
|00000050| 0a 4e 65 77 73 67 72 6f | 75 70 73 3a 20 63 6f 6d |.Newsgro|ups: com|
|00000060| 70 2e 6c 61 6e 67 2e 73 | 6d 61 6c 6c 74 61 6c 6b |p.lang.s|malltalk|
|00000070| 2c 63 6f 6d 70 2e 6f 62 | 6a 65 63 74 2c 63 6f 6d |,comp.ob|ject,com|
|00000080| 70 2e 6c 61 6e 67 2e 63 | 2b 2b 2c 63 6f 6d 70 2e |p.lang.c|++,comp.|
|00000090| 6c 61 6e 67 2e 6a 61 76 | 61 0a 53 75 62 6a 65 63 |lang.jav|a.Subjec|
|000000a0| 74 3a 20 52 65 3a 20 54 | 68 65 20 47 6f 6f 64 2c |t: Re: T|he Good,|
|000000b0| 20 74 68 65 20 42 61 64 | 2c 20 74 68 65 20 55 67 | the Bad|, the Ug|
|000000c0| 6c 79 2c 20 61 6e 64 20 | 74 68 65 20 57 69 63 6b |ly, and |the Wick|
|000000d0| 65 64 20 2e 2e 2e 0a 44 | 61 74 65 3a 20 32 38 20 |ed ....D|ate: 28 |
|000000e0| 4d 61 72 20 31 39 39 36 | 20 31 33 3a 35 37 3a 31 |Mar 1996| 13:57:1|
|000000f0| 34 20 47 4d 54 0a 4f 72 | 67 61 6e 69 7a 61 74 69 |4 GMT.Or|ganizati|
|00000100| 6f 6e 3a 20 42 72 75 6e | 65 6c 20 55 6e 69 76 65 |on: Brun|el Unive|
|00000110| 72 73 69 74 79 0a 4d 65 | 73 73 61 67 65 2d 49 44 |rsity.Me|ssage-ID|
|00000120| 3a 20 3c 34 6a 65 35 72 | 71 24 37 71 67 40 6d 69 |: <4je5r|q$7qg@mi|
|00000130| 6d 61 73 2e 62 72 75 6e | 65 6c 2e 61 63 2e 75 6b |mas.brun|el.ac.uk|
|00000140| 3e 0a 52 65 66 65 72 65 | 6e 63 65 73 3a 20 3c 33 |>.Refere|nces: <3|
|00000150| 31 35 37 30 42 38 45 2e | 35 41 31 32 40 76 6d 61 |1570B8E.|5A12@vma|
|00000160| 72 6b 2e 63 6f 6d 3e 0a | 4e 4e 54 50 2d 50 6f 73 |rk.com>.|NNTP-Pos|
|00000170| 74 69 6e 67 2d 48 6f 73 | 74 3a 20 6d 61 74 68 73 |ting-Hos|t: maths|
|00000180| 2d 70 63 2d 31 32 35 2e | 62 72 75 6e 65 6c 2e 61 |-pc-125.|brunel.a|
|00000190| 63 2e 75 6b 0a 4d 69 6d | 65 2d 56 65 72 73 69 6f |c.uk.Mim|e-Versio|
|000001a0| 6e 3a 20 31 2e 30 0a 43 | 6f 6e 74 65 6e 74 2d 54 |n: 1.0.C|ontent-T|
|000001b0| 79 70 65 3a 20 74 65 78 | 74 2f 70 6c 61 69 6e 3b |ype: tex|t/plain;|
|000001c0| 20 63 68 61 72 73 65 74 | 3d 75 73 2d 61 73 63 69 | charset|=us-asci|
|000001d0| 69 0a 43 6f 6e 74 65 6e | 74 2d 54 72 61 6e 73 66 |i.Conten|t-Transf|
|000001e0| 65 72 2d 45 6e 63 6f 64 | 69 6e 67 3a 20 37 62 69 |er-Encod|ing: 7bi|
|000001f0| 74 0a 58 2d 4d 61 69 6c | 65 72 3a 20 4d 6f 7a 69 |t.X-Mail|er: Mozi|
|00000200| 6c 6c 61 20 31 2e 32 32 | 20 28 57 69 6e 64 6f 77 |lla 1.22| (Window|
|00000210| 73 3b 20 49 3b 20 31 36 | 62 69 74 29 0a 54 6f 3a |s; I; 16|bit).To:|
|00000220| 20 6a 73 75 74 68 65 72 | 6c 61 6e 64 40 76 6d 61 | jsuther|land@vma|
|00000230| 72 6b 2e 63 6f 6d 0a 0a | 4a 65 66 66 20 53 75 74 |rk.com..|Jeff Sut|
|00000240| 68 65 72 6c 61 6e 64 20 | 3c 6a 73 75 74 68 65 72 |herland |<jsuther|
|00000250| 6c 61 6e 64 40 76 6d 61 | 72 6b 2e 63 6f 6d 3e 20 |land@vma|rk.com> |
|00000260| 77 72 6f 74 65 3a 0a 3e | 20 5b 2e 2e 2e 5d 0a 3e |wrote:.>| [...].>|
|00000270| 09 09 09 09 09 53 54 09 | 43 2b 2b 09 4f 4f 43 20 |.....ST.|C++.OOC |
|00000280| 09 4a 61 76 61 0a 3e 46 | 6c 65 78 69 62 69 6c 69 |.Java.>F|lexibili|
|00000290| 74 79 09 44 79 6e 61 6d | 69 63 20 42 69 6e 64 69 |ty.Dynam|ic Bindi|
|000002a0| 6e 67 09 09 31 09 32 09 | 32 09 32 0a 3e 09 09 44 |ng..1.2.|2.2.>..D|
|000002b0| 79 6e 61 6d 69 63 20 43 | 6c 61 73 73 65 73 09 09 |ynamic C|lasses..|
|000002c0| 31 09 33 09 31 09 32 0a | 3e 09 09 4d 75 6c 74 69 |1.3.1.2.|>..Multi|
|000002d0| 70 6c 65 20 49 6e 68 65 | 72 69 74 61 6e 63 65 09 |ple Inhe|ritance.|
|000002e0| 33 09 32 09 32 09 33 0a | 3e 09 09 52 6f 6c 65 73 |3.2.2.3.|>..Roles|
|000002f0| 09 09 09 32 09 33 09 33 | 09 31 0a 3e 45 61 73 65 |...2.3.3|.1.>Ease|
|00000300| 20 6f 66 20 75 73 65 09 | 43 6c 61 73 73 20 4c 69 | of use.|Class Li|
|00000310| 62 72 61 72 69 65 73 09 | 09 31 09 33 09 33 09 32 |braries.|.1.3.3.2|
|00000320| 0a 3e 09 09 4c 65 61 72 | 6e 69 6e 67 20 43 75 72 |.>..Lear|ning Cur|
|00000330| 76 65 09 09 31 09 33 09 | 32 09 31 0a 3e 09 09 53 |ve..1.3.|2.1.>..S|
|00000340| 70 65 65 64 20 6f 66 20 | 44 65 76 65 6c 6f 70 6d |peed of |Developm|
|00000350| 65 6e 74 09 31 09 33 09 | 32 09 32 0a 3e 09 09 50 |ent.1.3.|2.2.>..P|
|00000360| 6f 72 74 61 62 69 6c 69 | 74 79 09 09 32 09 33 09 |ortabili|ty..2.3.|
|00000370| 33 09 31 0a 3e 53 75 70 | 70 6f 72 74 09 09 54 6f |3.1.>Sup|port..To|
|00000380| 6f 6c 73 09 09 09 31 09 | 31 09 33 09 33 0a 3e 09 |ols...1.|1.3.3.>.|
|00000390| 09 4d 75 6c 74 69 70 6c | 65 20 56 65 6e 64 6f 72 |.Multipl|e Vendor|
|000003a0| 73 09 32 09 31 09 33 09 | 31 0a 3e 50 65 72 66 6f |s.2.1.3.|1.>Perfo|
|000003b0| 72 6d 61 6e 63 65 09 09 | 09 09 32 09 31 09 33 09 |rmance..|..2.1.3.|
|000003c0| 33 0a 3e 52 69 73 6b 09 | 09 47 61 72 62 61 67 65 |3.>Risk.|.Garbage|
|000003d0| 20 43 6f 6c 6c 65 63 74 | 69 6f 6e 09 31 09 33 09 | Collect|ion.1.3.|
|000003e0| 33 09 32 20 5b 2e 2e 2e | 5d 0a 0a 5e 2d 2d 2d 2d |3.2 [...|]..^----|
|000003f0| 2d 2d 20 61 62 6f 75 74 | 20 67 61 72 62 61 67 65 |-- about| garbage|
|00000400| 20 43 6f 6c 6c 65 63 74 | 69 6f 6e 2c 20 49 20 68 | Collect|ion, I h|
|00000410| 61 76 65 20 74 68 69 73 | 20 72 65 6d 61 72 6b 2e |ave this| remark.|
|00000420| 20 0a 0a 4d 65 6d 6f 72 | 79 20 72 65 71 75 69 72 | ..Memor|y requir|
|00000430| 65 6d 65 6e 74 73 20 61 | 6e 64 20 75 73 61 67 65 |ements a|nd usage|
|00000440| 20 63 61 6e 20 76 61 72 | 79 20 61 20 6c 6f 74 20 | can var|y a lot |
|00000450| 66 72 6f 6d 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |from app|lication|
|00000460| 20 74 6f 20 0a 61 70 70 | 6c 69 63 61 74 69 6f 6e | to .app|lication|
|00000470| 2c 20 73 6f 20 61 6e 79 | 20 61 70 70 6c 69 63 61 |, so any| applica|
|00000480| 74 69 6f 6e 20 63 61 6e | 20 67 65 6e 65 72 61 74 |tion can| generat|
|00000490| 65 20 61 20 64 69 66 66 | 65 72 65 6e 74 20 6b 69 |e a diff|erent ki|
|000004a0| 6e 64 20 6f 66 20 6d 65 | 6d 6f 72 79 20 0a 66 72 |nd of me|mory .fr|
|000004b0| 61 67 6d 65 6e 74 65 74 | 69 6f 6e 20 28 69 66 20 |agmentet|ion (if |
|000004c0| 61 6e 79 29 2e 20 54 68 | 65 72 65 66 6f 72 65 2c |any). Th|erefore,|
|000004d0| 20 69 74 20 69 73 20 6e | 6f 74 20 70 6f 73 73 69 | it is n|ot possi|
|000004e0| 62 6c 65 20 74 6f 20 64 | 65 76 69 73 65 20 61 20 |ble to d|evise a |
|000004f0| 67 61 72 62 61 67 65 20 | 0a 63 6f 6c 6c 65 63 74 |garbage |.collect|
|00000500| 69 6f 6e 20 73 75 69 74 | 61 62 6c 65 20 66 6f 72 |ion suit|able for|
|00000510| 20 61 6e 79 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | any app|lication|
|00000520| 2e 2e 2e 20 6f 72 2c 20 | 61 74 20 6c 65 61 73 74 |... or, |at least|
|00000530| 2c 20 6e 6f 62 6f 64 79 | 20 68 61 73 20 64 6f 6e |, nobody| has don|
|00000540| 65 20 0a 69 74 20 73 6f | 20 66 61 72 20 28 75 70 |e .it so| far (up|
|00000550| 20 74 6f 20 6d 79 20 6b | 6e 6f 77 6c 65 64 67 65 | to my k|nowledge|
|00000560| 29 2e 0a 0a 41 20 6c 61 | 6e 67 75 61 67 65 20 6f |)...A la|nguage o|
|00000570| 66 66 65 72 69 6e 67 20 | 61 75 74 6f 6d 61 74 69 |ffering |automati|
|00000580| 63 20 67 61 72 62 61 67 | 65 20 63 6f 6c 6c 65 63 |c garbag|e collec|
|00000590| 74 69 6f 6e 20 64 69 73 | 71 75 61 6c 69 66 69 65 |tion dis|qualifie|
|000005a0| 73 20 69 74 73 65 6c 66 | 20 66 6f 72 20 0a 61 74 |s itself| for .at|
|000005b0| 20 6c 65 61 73 74 20 74 | 77 6f 20 73 74 72 65 61 | least t|wo strea|
|000005c0| 6d 73 20 6f 66 20 61 70 | 70 6c 69 63 61 74 69 6f |ms of ap|plicatio|
|000005d0| 6e 73 3a 0a 0a 31 29 20 | 74 68 6f 73 65 20 72 65 |ns:..1) |those re|
|000005e0| 71 75 69 72 69 6e 67 20 | 61 20 67 61 72 62 61 67 |quiring |a garbag|
|000005f0| 65 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 2c 20 62 75 |e collec|tion, bu|
|00000600| 74 20 6f 6e 65 20 64 69 | 66 66 65 72 65 6e 74 20 |t one di|fferent |
|00000610| 66 72 6f 6d 20 74 68 65 | 20 6f 6e 65 20 0a 22 62 |from the| one ."b|
|00000620| 75 69 6c 74 22 20 69 6e | 74 6f 20 74 68 65 20 6c |uilt" in|to the l|
|00000630| 61 6e 67 75 61 67 65 0a | 0a 32 29 20 74 68 6f 73 |anguage.|.2) thos|
|00000640| 65 20 72 65 71 75 69 72 | 69 6e 67 20 74 68 61 74 |e requir|ing that|
|00000650| 20 79 6f 75 20 44 4f 4e | 27 54 20 64 6f 20 61 6e | you DON|'T do an|
|00000660| 79 20 61 75 74 6f 6d 61 | 74 69 63 20 67 61 72 62 |y automa|tic garb|
|00000670| 61 67 65 20 63 6f 6c 6c | 65 63 74 69 6f 6e 2e 0a |age coll|ection..|
|00000680| 0a 49 20 62 65 6c 69 76 | 65 20 74 68 61 74 2c 20 |.I beliv|e that, |
|00000690| 66 6f 72 20 69 6e 73 74 | 61 6e 63 65 2c 20 72 65 |for inst|ance, re|
|000006a0| 61 6c 2d 74 69 6d 65 20 | 61 70 70 6c 69 63 61 74 |al-time |applicat|
|000006b0| 69 6f 6e 73 20 66 69 74 | 20 74 68 65 20 73 65 63 |ions fit| the sec|
|000006c0| 6f 6e 64 20 0a 73 74 72 | 65 61 6d 2e 0a 0a 41 20 |ond .str|eam...A |
|000006d0| 6c 61 6e 67 75 61 67 65 | 20 74 68 61 74 20 69 73 |language| that is|
|000006e0| 20 70 72 6f 70 6f 73 65 | 64 20 61 73 20 22 67 65 | propose|d as "ge|
|000006f0| 6e 65 72 61 6c 20 70 75 | 72 70 6f 73 65 22 20 73 |neral pu|rpose" s|
|00000700| 68 6f 75 6c 64 6e 27 74 | 20 6f 66 66 65 72 20 0a |houldn't| offer .|
|00000710| 22 63 6f 6d 70 75 6c 73 | 6f 72 79 22 20 67 61 72 |"compuls|ory" gar|
|00000720| 62 61 67 65 20 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |bage col|lection |
|00000730| 28 67 2e 63 2e 29 2e 20 | 41 20 67 65 6e 65 72 61 |(g.c.). |A genera|
|00000740| 6c 20 70 75 72 70 6f 73 | 65 20 6c 61 6e 67 75 61 |l purpos|e langua|
|00000750| 67 65 20 73 68 6f 75 6c | 64 20 0a 67 69 76 65 20 |ge shoul|d .give |
|00000760| 79 6f 75 20 61 20 63 68 | 61 6e 63 65 20 74 6f 20 |you a ch|ance to |
|00000770| 69 6d 70 6c 65 6d 65 6e | 74 20 74 68 65 20 67 2e |implemen|t the g.|
|00000780| 63 2e 20 79 6f 75 20 6c | 69 6b 65 20 74 68 65 20 |c. you l|ike the |
|00000790| 6d 6f 73 74 2e 20 42 65 | 74 77 65 65 6e 20 74 68 |most. Be|tween th|
|000007a0| 65 20 0a 6c 61 6e 67 75 | 61 67 65 73 20 79 6f 75 |e .langu|ages you|
|000007b0| 20 68 61 76 65 20 6d 65 | 6e 74 69 6f 6e 65 64 20 | have me|ntioned |
|000007c0| 69 6e 20 79 6f 75 72 20 | 61 72 74 69 63 6c 65 2c |in your |article,|
|000007d0| 20 49 20 6b 6e 6f 77 20 | 74 68 72 6f 75 67 6c 79 | I know |througly|
|000007e0| 20 6a 75 73 74 20 43 2b | 2b 2e 20 0a 55 70 20 74 | just C+|+. .Up t|
|000007f0| 6f 20 77 68 61 74 20 49 | 20 6b 6e 6f 77 2c 20 43 |o what I| know, C|
|00000800| 2b 2b 20 61 6c 6c 6f 77 | 73 20 79 6f 75 20 74 6f |++ allow|s you to|
|00000810| 20 69 6d 70 6c 65 6d 65 | 6e 74 20 79 6f 75 72 20 | impleme|nt your |
|00000820| 66 61 76 6f 72 69 74 65 | 20 67 2e 63 2e 20 74 68 |favorite| g.c. th|
|00000830| 72 6f 75 67 68 20 0a 28 | 73 61 79 29 20 6f 76 65 |rough .(|say) ove|
|00000840| 72 6c 6f 61 64 69 6e 67 | 2c 20 69 6e 68 65 72 69 |rloading|, inheri|
|00000850| 74 61 6e 63 65 2c 20 61 | 6e 64 20 74 68 65 20 70 |tance, a|nd the p|
|00000860| 72 65 70 72 6f 63 65 73 | 73 6f 72 2e 0a 0a 49 66 |reproces|sor...If|
|00000870| 20 61 20 6c 61 6e 67 75 | 61 67 65 20 69 73 20 22 | a langu|age is "|
|00000880| 74 61 72 67 65 74 74 65 | 64 22 20 66 6f 72 20 61 |targette|d" for a|
|00000890| 20 73 70 65 63 69 66 69 | 63 20 6b 69 6e 64 20 6f | specifi|c kind o|
|000008a0| 66 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 2c 20 |f applic|ations, |
|000008b0| 74 68 65 6e 20 61 6e 20 | 0a 75 73 65 66 75 6c 20 |then an |.useful |
|000008c0| 28 65 76 65 6e 74 75 61 | 6c 6c 79 20 22 61 75 74 |(eventua|lly "aut|
|000008d0| 6f 6d 61 74 69 63 22 29 | 20 67 2e 63 2e 20 63 6f |omatic")| g.c. co|
|000008e0| 75 6c 64 20 62 65 20 64 | 65 76 69 73 65 64 20 61 |uld be d|evised a|
|000008f0| 6e 64 20 62 75 69 6c 74 | 20 69 6e 74 6f 20 74 68 |nd built| into th|
|00000900| 61 74 20 0a 6c 61 6e 67 | 75 61 67 65 2c 20 61 76 |at .lang|uage, av|
|00000910| 6f 69 64 69 6e 67 20 74 | 68 65 20 68 61 73 73 6c |oiding t|he hassl|
|00000920| 65 20 74 6f 20 72 65 69 | 6e 76 65 6e 74 20 74 68 |e to rei|nvent th|
|00000930| 65 20 77 68 65 65 6c 20 | 65 76 65 72 79 20 74 69 |e wheel |every ti|
|00000940| 6d 65 20 79 6f 75 20 6e | 65 65 64 20 0a 69 74 2e |me you n|eed .it.|
|00000950| 0a 0a 4d 79 20 63 6f 6e | 63 6c 75 73 69 6f 6e 73 |..My con|clusions|
|00000960| 20 61 72 65 20 74 68 61 | 74 2c 20 63 75 72 69 6f | are tha|t, curio|
|00000970| 75 73 6c 79 20 65 6e 6f | 67 68 2c 20 74 68 65 20 |usly eno|gh, the |
|00000980| 66 61 63 74 20 74 68 61 | 74 20 43 2b 2b 20 6c 65 |fact tha|t C++ le|
|00000990| 61 6b 73 20 61 20 67 2e | 63 2e 2c 20 0a 62 75 74 |aks a g.|c., .but|
|000009a0| 20 61 6c 6c 6f 77 73 20 | 79 6f 75 20 74 6f 20 69 | allows |you to i|
|000009b0| 6d 70 6c 65 6d 65 6e 74 | 20 6f 6e 65 2c 20 68 65 |mplement| one, he|
|000009c0| 6c 70 65 64 20 68 69 6d | 20 69 6e 20 62 65 63 6f |lped him| in beco|
|000009d0| 6d 69 6e 67 20 73 6f 20 | 77 69 64 65 6c 79 20 0a |ming so |widely .|
|000009e0| 61 64 6f 70 74 65 64 2e | 20 0a 0a 3e 4d 65 6d 6f |adopted.| ..>Memo|
|000009f0| 72 79 20 4c 65 61 6b 73 | 20 20 20 20 20 20 20 20 |ry Leaks| |
|00000a00| 20 20 20 20 31 20 20 20 | 20 20 20 20 33 20 20 20 | 1 | 3 |
|00000a10| 20 20 20 20 31 20 20 20 | 20 20 20 20 31 0a 5e 2d | 1 | 1.^-|
|00000a20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a30| 20 43 2b 2b 20 68 61 73 | 20 67 6f 74 20 65 78 63 | C++ has| got exc|
|00000a40| 65 70 74 69 6f 6e 20 68 | 61 6e 64 6c 69 6e 67 2e |eption h|andling.|
|00000a50| 20 49 74 20 73 65 65 6d | 73 20 74 6f 20 6d 65 20 | It seem|s to me |
|00000a60| 61 20 67 6f 6f 64 20 0a | 77 61 79 20 74 6f 20 68 |a good .|way to h|
|00000a70| 61 6e 64 6c 65 20 6d 65 | 6d 6f 72 79 20 6c 65 61 |andle me|mory lea|
|00000a80| 6b 73 2e 0a 0a 52 65 67 | 61 72 64 73 2c 0a 20 20 |ks...Reg|ards,. |
|00000a90| 20 46 72 61 6e 63 65 73 | 63 6f 20 47 2e 20 46 61 | Frances|co G. Fa|
|00000aa0| 6e 74 61 75 7a 7a 69 0a | 0a 0a |ntauzzi.|.. |
+--------+-------------------------+-------------------------+--------+--------+